package com.techsoul.module.system.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 附件 Vo
 * 
 * @author liuen
 * @date 2021-06-03
 */
@Data
@Accessors(chain = true)
public class AttachmentVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID（系统自动产生）")
    private String id;

    @ApiModelProperty("业务表代码，数据字典 table_code")
    private String tableCode;

    @ApiModelProperty("业务表主键")
    private String tableKey;

    @ApiModelProperty("文件名")
    private String fileName;

    @ApiModelProperty("文件地址")
    private String fileUrl;

    @ApiModelProperty("文件扩展名")
    private String extension;

    @ApiModelProperty("附件序号")
    private Integer seq;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("是否有效（数据字典sys_yn_type，默认1-是）")
    private String isValid;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("创建人名称")
    private String createByName;

    @ApiModelProperty("更新人名称")
    private String updateByName;

}
